﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


class Program
{
    static void Main(string[] args)
    {
        
        Console.WriteLine(new string('#', 9));

        Console.Write(new string('#', 2));
        Console.Write(new string('.', 6));
        Console.WriteLine(new string('#', 2));
        Console.Write(new string('#', 2));
        Console.Write(new string('.', 7));
        Console.WriteLine(new string('#', 2));
        Console.Write(new string('#', 2));
        Console.Write(new string('.', 7));
        Console.WriteLine(new string('#', 2));

        Console.Write(new string('#', 2));
        Console.Write(new string('.', 6));
        Console.Write(new string('#', 2));
        Console.WriteLine();

        Console.WriteLine(new string('#', 9));

        Console.Write(new string('#', 2));
        Console.Write(new string('.', 6));
        Console.Write(new string('#', 2));
        Console.WriteLine();

        Console.Write(new string('#', 2));
        Console.Write(new string('.', 7));
        Console.WriteLine(new string('#', 2));

        Console.Write(new string('#', 2));
        Console.Write(new string('.', 7));
        Console.WriteLine(new string('#', 2));

        Console.Write(new string('#', 2));
        Console.Write(new string('.', 6));
        Console.WriteLine(new string('#', 2));
        Console.WriteLine(new string('#', 9));

        
        
        
        
    }
}

